//
// Created by bxw57 on 2024/4/21.
//

#ifndef CPPPRACTICE_TEST_H
#define CPPPRACTICE_TEST_H
#include "Person.h"
#include "Student.h"
#include "Teacher.h"


class Test{
public:
    Test(){
        Student stu("bai", 12, first);
        Teacher t1("huaze", 33, jiaoShou);
        test(stu);
        test(t1);
    }
    void test(Person& p) {
        p.introduce();
    }
};
#endif //CPPPRACTICE_TEST_H
